﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="TreeAdd.aspx.cs" Inherits="DataLib.Accounts.TreeAdd" %>
<%@ Register TagPrefix="cc1" Namespace="LtpPageControl" Assembly="LtpPageControl" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<link href="/Css/tab2.css" rel="Stylesheet" type="text/css" />
    <style type="text/css">
        td
        {
            height: 20px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
<div class="tab2">
	<h1>信 息 添 加</h1>
    <div class="one">
        <cc1:navigation01 id="Navigation011" runat="server" Table_Name="Form1" Key_Str="id"                          Page_Modify="modify.aspx" Page_Index="treelist.aspx" Page_Add="add.aspx">
    </cc1:navigation01>
    </div>
    <table cellSpacing="0" cellPadding="0" width="100%" border="0" class="one">
    <!--一个表单-->
            <tr style="color: Red; height: 50px;"><td></td><td>请详细填写下列信息，带有*的必须填写。</td></tr>
            <tr>
               <td><div width="150" align="right">* 名称：</div></td>
              <td><asp:textbox id="txtName" runat="server" Width="200px" MaxLength="20" ToolTip="菜单名称"> </asp:textbox></td>
        </tr>
        <tr>
                <td width="150" height="22">
                <div align="right">*父类：</div>
                </td>
                <td height="22">
                    <asp:dropdownlist id="listTarget" runat="server" Width="200px">
                        <asp:ListItem Value="0" Selected="True">根目录</asp:ListItem>
                    </asp:dropdownlist>
                </td>
        </tr>
        <tr>
                <td width="150" height="22">
                    <div align="right">*排序号：</div>
                </td>
                <td height="22">
                    <asp:textbox id="txtId" runat="server" Width="200px" MaxLength="10" 
                    ToolTip="该父类下子节点的排列顺序号"> </asp:textbox>
                </td>
        </tr>
        <tr>
                <td width="150" height="22">
                    <div align="right">链接路径：</div>
                </td>
                <td height="22">
                    <asp:textbox id="txtUrl" runat="server" Width="300px" MaxLength="100" 
                    ToolTip="该菜单链接的页面路径"> </asp:textbox>
                </td>
        </tr>
        <tr>
                <td width="150" height="22">
                    <div align="right">图标(16x16)：</div>
                </td>
                <td height="22">
                    <asp:textbox id="txtImgUrl" runat="server" Width="10px" MaxLength="100"                                      Visible="False">Images/folder16.gif</asp:textbox>
                    <SELECT id="imgsel" onchange="imgchang()" runat="server" NAME="imgsel">
                        <OPTION selected></OPTION>
                    </SELECT>
                    <IMG id="imgview" src="../Images/MenuImg/folder16.gif" border="0" runat="server">
                    <INPUT id="hideimgurl" style="WIDTH: 24px; HEIGHT: 22px" type="hidden" size="1"                              runat="server" NAME="hideimgurl" value="Images/MenuImg/folder16.gif">
                </td>
        </tr>
        <tr>
                <td style="HEIGHT: 12px" width="150" height="12"><div align="right">绑定权限：</div>
                </td>
                <td style="HEIGHT: 15px" height="15"><asp:dropdownlist id="listPermission" runat="server"                    Width="300px"></asp:dropdownlist>
                    <asp:CheckBox ID="CheckBox1" runat="server" Text="是否创建同名权限" 
                    ToolTip="选择该选项,将创建同名权限,并自动绑定.注意:如果父类为根目录则不能使用该设置" />
                </td>
        </tr>
        <tr>
                <td width="150" height="22">
                    <div align="right">说明：</div>
                </td>
                <td height="22">
                    <asp:textbox id="txtDescription" runat="server" Width="300px"> </asp:textbox>
                </td>
        </tr>
        <tr>
              <td width="150" height="22">&nbsp;</td>
                <td height="22">
                    <asp:checkbox id="chkAddContinue" runat="server" Text="连续添加">
                    </asp:checkbox>&nbsp;[ 添加成功后直接跳回此页进行再次添加 ]
                </td>
        </tr>
    </table>

    <table cellSpacing="0" cellPadding="0" width="100%" border="0">
        <tr><td></td></tr>
        <tr>
            <td width="200"></td>
            <td>
                <div>
                    <asp:button id="btnAdd" runat="server" Text="· 提交 ·" onclick="btnAdd_Click">
                    </asp:button><FONT face="宋体">&nbsp;</FONT>
                    <asp:button id="btnCancel" runat="server" Text="· 重填 ·" onclick="btnCancel_Click">
                    </asp:button>
                </div>
            </td>
        </tr>
    </table>
</div>
</asp:Content>
